/*
 *  DebugTools.h
 *  Rempart
 *
 *
 */

#ifndef __DEBUGTOOLS
#define __DEBUGTOOLS
#include <SFML/Graphics.hpp>
#include "Constants.h"
#include "GUI.h"
#include "OutOfMapException.h"
extern sf::Mutex globalLock;

class DebugTools : public sf::Drawable, sf::Thread{

private:
	DebugTools();
	static DebugTools* instance;
	sf::String* textDumpCurrentCase;
	sf::Vector2<float>* mousePosition;
	void Render(sf::RenderTarget& Target) const;
	bool loop;
	void generateDumpSprite();
	virtual void Run();
	
	
public:
	~DebugTools();
	
	static DebugTools* getInstance();
	
};


#endif